import request from '../../utils/request';
Page({
  data: {
    notices: []

  },
  async getNotice() {
    const {
      data: notices
    } = await request.get('/announcement')
    this.setData({
      notices: notices
    })

  },

  onLoad() {
    this.getNotice()
  },


})